import config from '@/config'
const baseUrl = env => {
  if (env === 'development') {
    return config.baseUrl.dev
  } else {
    return config.baseUrl.pro
  }
}

export default {
  baseProxyPath: process.env.VUE_APP_BASE_API,
  baseApiPath: baseUrl(process.env.NODE_ENV)
}
